{include file="public/header" /}

<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>{$Think.lang.web_set}</h3>
                <h5></h5>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>

    <form method="post" enctype="multipart/form-data" name="form1" >
        <div class="ncap-form-default">
            <dl>
                <dt>{$Think.lang.site_name}</dt>
                <dd>
                    <input id="site_name" name="site_name" value="{$list_config.site_name}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">{$Think.lang.web_name_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>短信签名</dt>
                <dd>
                    <input id="sms_sign_name" name="sms_sign_name" value="{$list_config.sms_sign_name}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">短信签名，用于发送短信</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.site_logo}</dt>
                <dd>
                    {notempty name="$list_config.site_logo"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.site_logo}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield1' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="site_logo" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true" sc_type="change_site_logo">
                    </span>
                    <p class="notic">{$Think.lang.site_logo_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.member_logo}</dt>
                <dd>
                    {notempty name="$list_config.member_logo"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.member_logo}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield2' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="member_logo" type="file" class="type-file-file" id="member_logo" size="30" hidefocus="true" sc_type="change_member_logo">
                    </span>
                    <p class="notic">{$Think.lang.member_logo_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.site_mobile_logo}</dt>
                <dd>
                    {notempty name="$list_config.site_mobile_logo"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.site_mobile_logo}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield4' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="site_mobile_logo" type="file" class="type-file-file" id="site_mobile_logo" size="30" hidefocus="true" sc_type="change_site_mobile_logo">
                    </span>
                    <p class="notic">{$Think.lang.site_mobile_logo_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.site_logowx}</dt>
                <dd>
                    {notempty name="$list_config.site_logowx"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.site_logowx}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield5' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="site_logowx" type="file" class="type-file-file" id="site_logowx" size="30" hidefocus="true" sc_type="change_site_logowx">
                    </span>
                    <p class="notic">{$Think.lang.site_logowx_notice}</p>
                </dd>
            </dl>

            <dl>
                <dt>营业执照</dt>
                <dd>
                    {notempty name="$list_config.business_license_1"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.business_license_1}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield6' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="business_license_1" type="file" class="type-file-file" id="business_license_1" size="30" hidefocus="true" sc_type="change_business_license_1">
                    </span>
                </dd>
            </dl>
            <dl>
                <dt>经营许可证</dt>
                <dd>
                    {notempty name="$list_config.business_license_2"}
                    <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
                        <div class="type-file-preview"><img src="{$Think.UPLOAD_SITE_URL}/{$Think.ATTACH_COMMON}/{$list_config.business_license_2}"></div>
                    </span>
                    {/notempty}
                    <span class="type-file-box"><input type='text' name='textfield' id='textfield7' class='type-file-text' /><input type='button' name='button' id='button1' value='' class='type-file-button' />
                        <input name="business_license_2" type="file" class="type-file-file" id="business_license_2" size="30" hidefocus="true" sc_type="change_business_license_2">
                    </span>
                </dd>
            </dl>
              <dl>
                <dt>{$Think.lang.hot_search}</dt>
                <dd>
                    <textarea id="hot_search" name="hot_search">{$list_config.hot_search}</textarea>
                    <span class="err"></span>
                    <p class="notic">{$Think.lang.field_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.baidu_map_ak_key}</dt>
                <dd>
                    <input id="baidu_ak" name="baidu_ak" value="{$list_config.baidu_ak}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>单一窗口接口</dt>
                <dd>
                    <input id="customs_api" name="customs_api" value="{$list_config.customs_api}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>万嘉WMS接口</dt>
                <dd>
                    <input id="wms_api" name="wms_api" value="{$list_config.wms_api}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.icp_number}</dt>
                <dd>
                    <input id="icp_number" name="icp_number" value="{$list_config.icp_number}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <dl>
                <dt>{$Think.lang.site_phone}</dt>
                <dd>
                    <input id="site_phone" name="site_phone" value="{$list_config.site_phone}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <dl>
                <dt>{$Think.lang.site_tel400}</dt>
                <dd>
                    <input id="site_tel400" name="site_tel400" value="{$list_config.site_tel400}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.site_email}</dt>
                <dd>
                    <input id="site_email" name="site_email" value="{$list_config.site_email}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.flow_static_code}</dt>
                <dd>
                    <textarea id="flow_static_code" name="flow_static_code">{$list_config.flow_static_code}</textarea>
                    <span class="err"></span>
                    <p class="notic">{$Think.lang.flow_static_code_notice}</p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.cache_open}</dt>
                <dd>
                    <div class="onoff">
                        <label for="cache_open1" class="cb-enable {if condition="$list_config.cache_open eq 1"}selected{/if}">{$Think.lang.sc_open}</label>
                        <label for="cache_open0" class="cb-disable {if condition="$list_config.cache_open eq 0"}selected{/if}">{$Think.lang.sc_close}</label>
                        <input id="cache_open1" name="cache_open" value="1" type="radio" {if condition="$list_config.cache_open eq 1"} checked="checked"{/if}>
                        <input id="cache_open0" name="cache_open" value="0" type="radio" {if condition="$list_config.cache_open eq 0"} checked="checked"{/if}>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.site_state}</dt>
                <dd>
                    <div class="onoff">
                        <label for="site_state1" class="cb-enable {if condition="$list_config.site_state eq 1"}selected{/if}">{$Think.lang.sc_open}</label>
                        <label for="site_state0" class="cb-disable {if condition="$list_config.site_state eq 0"}selected{/if}">{$Think.lang.sc_close}</label>
                        <input id="site_state1" name="site_state" value="1" type="radio" {if condition="$list_config.site_state eq 1"} checked="checked"{/if}>
                        <input id="site_state0" name="site_state" value="0" type="radio" {if condition="$list_config.site_state eq 0"} checked="checked"{/if}>
                    </div>
                </dd>
            </dl>
            <!--<dl>-->
                <!--<dt>{$Think.lang.max_price}</dt>-->
                <!--<dd>-->
                    <!--<input id="order_amount_limit" name="order_amount_limit" value="{$list_config.order_amount_limit}" class="input-txt" type="text">-->
                    <!--<span class="err"></span>-->
                    <!--<p class="notic"></p>-->
                <!--</dd>-->
            <!--</dl>-->

            <input id="order_bonded_amount_limit" name="order_bonded_amount_limit" value="{$list_config.order_bonded_amount_limit}" class="input-txt" type="hidden">
            <input id="order_external_amount_limit" name="order_external_amount_limit" value="{$list_config.order_external_amount_limit}" class="input-txt" type="hidden">

            <dl>
<!--                <<dt>一般贸易最大限购金额</dt>-->
                <dt>最大限购金额</dt>
                <dd>
                    <input id="order_internal_amount_limit" name="order_internal_amount_limit" value="{$list_config.order_internal_amount_limit}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
<!--            <dl>-->
<!--                <dt>保税仓库最大限购金额</dt>-->
<!--                <dd>-->
<!--                    <input id="order_bonded_amount_limit" name="order_bonded_amount_limit" value="{$list_config.order_bonded_amount_limit}" class="input-txt" type="text">-->
<!--                    <span class="err"></span>-->
<!--                    <p class="notic"></p>-->
<!--                </dd>-->
<!--            </dl>-->
<!--            <dl>-->
<!--                <dt>跨境直邮最大限购金额</dt>-->
<!--                <dd>-->
<!--                    <input id="order_external_amount_limit" name="order_external_amount_limit" value="{$list_config.order_external_amount_limit}" class="input-txt" type="text">-->
<!--                    <span class="err"></span>-->
<!--                    <p class="notic"></p>-->
<!--                </dd>-->
<!--            </dl>-->

            <!--<dl>-->
                <!--<dt>{$Think.lang.order_quantity_limit}</dt>-->
                <!--<dd>-->
                    <!--<input id="order_quantity_limit" name="order_quantity_limit" value="{$list_config.order_quantity_limit}" class="input-txt" type="text">-->
                    <!--<span class="err"></span>-->
                    <!--<p class="notic"></p>-->
                <!--</dd>-->
            <!--</dl>-->

            <dl>
                <dt>{$Think.lang.default_tax_rate}</dt>
                <dd>
                    <input id="default_tax_rate" name="default_tax_rate" value="{$list_config.default_tax_rate}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>咨询qq</dt>
                <dd>
                    <input id="consulting_qq" name="consulting_qq" value="{$list_config.consulting_qq}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt>{$Think.lang.closed_reason}</dt>
                <dd>
                    <textarea id="closed_reason" name="closed_reason">{$list_config.closed_reason}</textarea>
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>
            <dl>
                <dt></dt>
                <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">{$Think.lang.sc_confirm_submit}</a></dd>
            </dl>
        </div>
    </form>

</div>





<script>
    $(function(){
        $("#site_logo").change(function () {
            $("#textfield1").val($("#site_logo").val());
        });
        $("#member_logo").change(function () {
            $("#textfield2").val($("#member_logo").val());
        });
        $("#site_mobile_logo").change(function () {
            $("#textfield4").val($("#site_mobile_logo").val());
        });
        $("#site_logowx").change(function () {
            $("#textfield5").val($("#site_logowx").val());
        });
        $("#business_license_1").change(function () {
            $("#textfield6").val($("#business_license_1").val());
        });
        $("#business_license_2").change(function () {
            $("#textfield7").val($("#business_license_2").val());
        });
    })
</script>


